<template>
  <el-container direction="vertical" class="body">
    <app-header></app-header>
    <el-container class="container">
      <app-side></app-side>
      <el-main class="main">
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import AppHeader from '@/components/AppHeader'
import AppSide from '@/components/AppSide'
export default {
  components: {
    AppHeader,
    AppSide
  }
}
</script>

<style lang="scss" scoped>
  .body {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  .container {
    height: 100%;
  }
  .main {
    background-color: #f5f5f5;
  }
</style>
